<!DOCTYPE html>
<html ng-app='myApp'>
	<head>
		<meta charset="utf-8"/>
		<title>stockAnalysis</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<!--if lt IE 9
		script(src='http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js')
		script(src='http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js')
		-->
		<link rel="stylesheet" href="/static/css/bootstrap.css" type="text/css" charset="utf-8"/>
		<link rel="stylesheet" href="/static/css/main.css" type="text/css" charset="utf-8"/>
		
		<script src="/static/js/lib/jquery.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/underscore.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/angular.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/angular-sanitize.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/angular-animate.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/angular-resource.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/angular-route.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/ng-infinite-scroll.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/lib/wordcloud2.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/other.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/main.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/service.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/directive.js" type="text/javascript" charset="utf-8"></script>
		<script src="/static/js/controller.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body ng-controller='mainCtrl' ng-keydown="bodyKeyDown($event)">
		<header class="navbar navbar-inverse navbar-fixed-top ">
			<div class="container">
				<div class="navbar-header">
					<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
					<a href="/" class="navbar-brand">
						个人股讯网
					</a>
				</div>
				<nav class="navbar-collapse bs-navbar-collapse collapse" role="navigation" style="height: 1px;">
					<ul class="nav navbar-nav">
						<li>
							<a href="/yaowen">
								要闻
							</a>
						</li>
						<li>
							<a href="/zhuti">
								主题
							</a>
						</li>

						<li>
							<a href="/dashi">
								大势
							</a>
						</li>
						<li>
							<a href="/gegu">
								个股
							</a>
						</li>
						<li>
							<a href="/fenlei">
								分类
							</a>
						</li>
						<li>
							<a href="/company">
								公司
							</a>
						</li>

					</ul>

					<ul class="nav navbar-nav navbar-right">
						<li ng-if="!isLogin">
							<a href="/login">
								登录
							</a>
						</li>
						<li ng-if="!isLogin">
							<a href="/register">
								注册
							</a>
						</li>
						<li ng-if="isLogin">
							<a href="/userinfo">
								{{username}}
							</a>
						</li>
						<li><li ng-if="isLogin">
							<a href="" ng-click="logout()">
								注销
							</a>
						</li></li>
						<li>
							<a href="/about">
								关于
							</a>
						</li>
					</ul>
				</nav>
			</div>
		</header>
		<!-- 内容开始-->
		<div class="container" style="margin-top: 84px;">
			<ng-view  class="view-animate" onload ></ng-view>
		</div>
		<div class="scroll" id="scroll" style="display:none;">
			回到顶部
		</div>

		<footer style="color: #999; text-align: center; padding: 30px 0; margin-top: 70px; border-top: 1px solid #e5e5e5; background-color: #f5f5f5;" class="footer">
			<p>
				Powered By 湖南科技大学srip项目团队 邮箱：hi@hi-hi.cn
			</p>
			<p>
				<a href="http://www.miibeian.gov.cn/" target="_blank">
					Copyright©2011 湖南科技大学 湘ICP备123456677号
				</a>
			</p>
		</footer>

	</body>
</html>
